package com.wy.service;

import com.wy.bean.User;
import com.wy.dao.UserDaol;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class UserServiceImpl implements UserService {

    @Resource
    private UserDaol userDaol;

    @Override
    public User getByLoginNameAndpwd(User user) {
        return userDaol.getByLoginNameAndpwd(user);
    }
}
